export const mandata = {
  name: '步行路线',
  camera: {
    type: 'gs',
    distance: 300
  },
  points: [
    // [117.220904, 31.833797, 43.75],
    [117.220356, 31.833959, 43.67],
    [117.220361, 31.835111, 44.36],
    [117.213242, 31.835863, 42.31],
    [117.211926, 31.835738, 42.14],
    [117.183103, 31.833906, 47.17],
    [117.183136, 31.833586, 47.39],
    [117.183968, 31.833637, 47.05],
    [117.184038, 31.833134, 47.39],
    [117.184364, 31.833142, 47.26],
    [117.184519, 31.833375, 47.04]
  ],
  speed: 50,
  model: {
    show: true,
    uri: 'https://lyzzsoft500.obs.myhuaweicloud.com/mapdata/zzdata/gltf/zz/man/walk.gltf',
    scale: 5,
    minimumPixelSize: 50
  },
  shadow: [
    {
      type: 'circle',
      radius: 10,
      color: '#ffff00',
      opacity: 0.3,
      fill: true,
      fillType: 'animationCircle',
      animationDuration: 2000,
      animationCount: 3,
      animationGradient: 0.1,
      show: true
    }
  ],
  pauseTime: 0.5,
  clockRange: Cesium.ClockRange.CLAMPED, //CLAMPED到达终点后停止
  onStep: (currIndex: any, _allCount: any) => {
    console.log('已漫游过点：' + currIndex);
  }
};
export const airdata = {
  id: '1',
  name: '空中漫游',
  clockLoop: true, //是否循环播放
  camera: {
    type: 'dy',
    followedX: 50,
    followedZ: 10
  },
  points: [
    [112.544976, 34.684987, 800],
    [112.409245, 34.630076, 800],
    [112.325986, 34.567577, 800]
  ],
  speed: 300,
  interpolation: true //setInterpolationOptions插值
};
export const grounddata = {
  name: '贴地表表面漫游',
  interpolation: true, //是否setInterpolationOptions插值
  clockLoop: true, //是否循环播放
  camera: {
    type: 'gs',
    distance: 100
  },
  points: [
    [119.990969, 30.274293, 0],
    [120.00544, 30.276466, 0],
    [120.018014, 30.279416, 0]
  ],
  speed: 160,
  model: {
    show: true,
    uri: 'https://lyzzsoft500.obs.myhuaweicloud.com/mapdata/zzdata/gltf/zz/qiche.gltf',
    scale: 0.2,
    minimumPixelSize: 50
  },
  path: {
    color: '#ffff00',
    width: 3,
    show: true
  }
};
export const modeldata = {
  name: '贴模型表面漫游',
  clockLoop: false,
  camera: {
    type: 'gs',
    heading: 0,
    distance: 200
  },
  clampToGround: true,
  points: [
    [120.00711, 30.27094, 21.86],
    [120.006772, 30.277326, 21.77],
    [120.010627, 30.278384, 21.74],
    [120.015328, 30.27959, 21.83]
  ],
  model: {
    show: true,
    uri: 'https://lyzzsoft500.obs.myhuaweicloud.com/mapdata/zzdata/gltf/zz/qiche.gltf',
    scale: 0.1,
    minimumPixelSize: 20
  }
};
